package cn.jvtc.course.management.system.bean;

import java.util.Date;

/**
 * 教师表对应的数据对象，数据库映射实体
 *
 * @author GaoFeng2017
 * @date 2017-12-11 18:26:30
 **/


public class TeacherInfoDO {
    private long id;
    private Date createTime;
    private Date modifiedTime;
    private String name;
    private String sex;
    private String department;
    private long number;
    private String password;
    private byte permissionCode;

    public TeacherInfoDO() {
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public byte getPermissionCode() {
        return permissionCode;
    }

    public void setPermissionCode(byte permissionCode) {
        this.permissionCode = permissionCode;
    }

    public long getNumber() {
        return number;
    }

    public void setNumber(long number) {
        this.number = number;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "TeacherInfoDO{" +
                "id=" + id +
                ", createTime=" + createTime +
                ", modifiedTime=" + modifiedTime +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", department='" + department + '\'' +
                ", number=" + number +
                ", password='" + password + '\'' +
                ", permissionCode=" + permissionCode +
                '}';
    }
}
